package com.mob.commons.eventrecoder;

import android.text.TextUtils;
import com.mob.tools.MobLog;
import com.mob.tools.log.NLog;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.LinkedList;

final class c
  implements Runnable
{
  c(String paramString, LinkedList paramLinkedList)
  {
  }

  public void run()
  {
    BufferedReader localBufferedReader;
    try
    {
      localBufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream(EventRecorder.b()), "utf-8"));
      String str = localBufferedReader.readLine();
      if (!TextUtils.isEmpty(str))
      {
        String[] arrayOfString = str.split(" ");
        if (this.a.equals(arrayOfString[0]))
        {
          if (!"0".equals(arrayOfString[2]))
            break label97;
          this.b.add(arrayOfString[1]);
        }
        while (true)
        {
          str = localBufferedReader.readLine();
          break;
          label97: if ("1".equals(arrayOfString[2]))
          {
            int i = this.b.indexOf(arrayOfString[1]);
            if (i != -1)
              this.b.remove(i);
          }
        }
      }
    }
    catch (Throwable localThrowable)
    {
      MobLog.getInstance().d(localThrowable);
      return;
    }
    localBufferedReader.close();
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.mob.commons.eventrecoder.c
 * JD-Core Version:    0.6.2
 */